package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.GroupWelcomeDevice;
import com.xjscrm.console.param.operatePlan.GroupWelcomeDeviceQuery;
import com.xjscrm.console.vo.GroupWelcomeDeviceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupWelcomeDeviceMapper {
    int add(GroupWelcomeDevice groupWelcomeDevice);

    List<GroupWelcomeDeviceVo> getGroupWelcomeDeviceList(GroupWelcomeDeviceQuery groupWelcomeDeviceQuery);

    int delById(@Param("id") Long id, @Param("merId") Long merId);

    GroupWelcomeDevice getById(@Param("id") Long id, @Param("merId") Long merId);

    int update(GroupWelcomeDevice groupWelcomeDevice);

}
